-- GENERATED SPELL FOR [Jarquia] --


function spell0_9916(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_9916', 606, 1)
end

function Sorts_9916(pUnit, Event)
local choix_sorts_9916 = math.random(0, 0)
if choix_sorts_9916 == 0 then
pUnit:RegisterEvent('spell0_9916', 1, 1)
end
end

function mob9916_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9916', math.random(1500, 3000), 1)
end

function mob9916_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9916_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9916_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9916, 1, 'mob9916_Action')
RegisterUnitEvent(9916, 2, 'mob9916_Leave')
RegisterUnitEvent(9916, 3, 'mob9916_Kill')
RegisterUnitEvent(9916, 4, 'mob9916_Die')
